Skip to main content

dontRefresh

Type

property

Summary

Specifies whether the last frame of a video clip remains visible or is cleared at the end of the movie.

Syntax

set the dontRefresh of <videoClip> to {true | false}

Description

Use the dontRefresh property to leave the final frame of a movie visible.

If a video clip's dontRefresh property is true, the last frame of the movie remains on the screen after the movie is finished playing, until that portion of the screen is redrawn.

If the dontRefresh is false, the last frame disappears at the end of the movie.

note

The color table used by the movie does not persist after the movie finishes playing. This means that if the screenColors is 256 or fewer, the colors in the last frame may shift when the movie ends. To prevent this problem, you can set the colorMap property to the set of colors used by the movie.

Examples

set the dontRefresh of videoclip "Sample Movie" to true

command: play

function: screenColors

glossary: property, redraw, frame, video clip, color table

keyword: templateVideoClip

property: frameRate, colorMap, videoClipPlayer

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?